import Layout from '@/views/layout/Layout'
import liveIndex from '@/views/live/pages/index'
import manage from '@/views/live/pages/manage'
import playback from '@/views/live/pages/playback'
import dataIndex from '@/views/live/pages/data/index'
import integral from '@/views/live/pages/integral.vue'
export default {
  path: '/live',
  component: Layout,
  redirect: '/live/index',
  alwaysShow: false,
  meta: {
    title: 'live',
    icon: 'user'
  },
  children: [
    {
      path: 'index',
      component: liveIndex,
      meta: {
        title: 'liveIndex',
        icon: 'user'
      }
    },
    {
      path: 'manage',
      /* component: () => import('@/views/live/pages/manage'),*/
      component: manage,
      meta: {
        title: 'manage'
      },
      hidden: true
    },
    {
      path: 'playback',
      component: playback,
      meta: {
        title: 'playback'
      },
      hidden: true
    },
    {
      path: 'data',
      component: dataIndex,
      meta: {
        title: 'dataIndex'
      },
      hidden: true
    },
    {
      path: 'integral',
      component: integral,
      meta: {
        title: 'liveIntegral'
      },
      hidden: true
    }
  ]
}
